]> dgit.raspbian.org Git - gnome-shell.git/commit
Remove shell-screen-grabber
authorNeil Roberts <neil@linux.intel.com>
Mon, 12 Nov 2012 18:07:57 +0000 (19:07 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Mon, 12 Nov 2012 18:07:57 +0000 (19:07 +0100)
commit7f8bfcc9390afd98894a2901a9c8a8694d3a24ae
tree1958067ac8b28cba617aea9a82a681aa9031f014
parentfae4cb9e562e1ba7137376e680c0121c8c78a3e6
Remove shell-screen-grabber

The screen grabber was a workaround for an extremely slow path in Mesa
when reading back pixel data from the frame buffer. It was using pixel
buffer objects by directly calling into GL to hit a fast blit path in
Intel's driver. This should no longer be necessary with the latest
Mesa because the normal read pixels path now has a fast path to just
memcpy the data. Using PBOs in that case just adds an extra
indirection because the data is read into an intermediate buffer and
then copied back out again.

We want to be able to remove the dependency on linking against libGL
directly from Gnome Shell because that will not work if Cogl is
actually using GLES. Also libGL includes GLX which means gnome-shell
ends up with a hard dependency on Xlib which hinders the goal of
getting Gnome Shell to be a Wayland compositor.

https://bugs.freedesktop.org/show_bug.cgi?id=46631

https://bugzilla.gnome.org/show_bug.cgi?id=685915
src/Makefile.am
src/shell-recorder.c
src/shell-screen-grabber.c
src/shell-screen-grabber.h
src/shell-screenshot.c